package com.huangliusong;

/**
 * @author huangliusong
 * @since 2019/1/22
 * {@link java.io.File}
 */
public class TestStdoutColor {
    public static void main(String[] args) {
            System.out.println("\033[30;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[31;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[32;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[33;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[34;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[35;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[36;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[37;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[40;31;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[41;32;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[42;33;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[43;34;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[44;35;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[45;36;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[46;37;4m" + "查看文字的颜色" + "\033[0m");
            System.out.println("\033[47;4m" + "查看文字的颜色" + "\033[0m");

    }
}
